package com.jcl.recruit.server.elastic.vo;

import java.util.Date;

/**
 * @ClassName ResumeCrawlerExportParam

 * @Author yyliu
 * @Date 2018/11/13 16:05
 * @Version 1.0
 **/
public class SearchResumeBasicEntity {

    protected Integer                id;
    // 渠道来源
    protected String                 sourceSub;

    protected String                 channelAccount;

    protected String                 applyDepartment;

    protected String                 applyPosition;

    protected String                 tags;

    protected Integer                status;

    protected Boolean                attention = false;

    protected Integer                downStatus = -1;

    protected Date                   applyDate;

    protected Date                   updateDate;

    protected Long                   applyDateTime;

    protected Long                   updateDateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSourceSub() {
        return sourceSub;
    }

    public void setSourceSub(String sourceSub) {
        this.sourceSub = sourceSub;
    }

    public String getChannelAccount() {
        return channelAccount;
    }

    public void setChannelAccount(String channelAccount) {
        this.channelAccount = channelAccount;
    }

    public String getApplyDepartment() {
        return applyDepartment;
    }

    public void setApplyDepartment(String applyDepartment) {
        this.applyDepartment = applyDepartment;
    }

    public String getApplyPosition() {
        return applyPosition;
    }

    public void setApplyPosition(String applyPosition) {
        this.applyPosition = applyPosition;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getAttention() {
        return attention;
    }

    public void setAttention(Boolean attention) {
        this.attention = attention;
    }

    public Integer getDownStatus() {
        return downStatus;
    }

    public void setDownStatus(Integer downStatus) {
        this.downStatus = downStatus;
    }

    public Long getUpdateDateTime() {
        if (null != updateDate) {
            updateDateTime =  updateDate.getTime();
        }
        return updateDateTime;
    }

    public Long getApplyDateTime() {
        if (null != applyDate) {
            applyDateTime = applyDate.getTime();
        }
        return applyDateTime;
    }

}
